<template>
  <router-view></router-view>

  <van-tabbar v-model="active" active-color="#ee0a24" route v-show="$route.meta.tabbarShow">
    <van-tabbar-item icon="home-o" replace to="/">首页</van-tabbar-item>
    <van-tabbar-item icon="search" replace to="/cate">分类</van-tabbar-item>
    <van-tabbar-item icon="pending-payment" replace to="/cart">购物车</van-tabbar-item>
    <van-tabbar-item icon="setting-o" replace to="/my">我的</van-tabbar-item>
  </van-tabbar>
</template>
<script setup>
import { ref } from "vue";

const active = ref(0);
</script>
<style lang="css" scoped></style>
